home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / HackAddict™ Magazine / HackAddict 04 / HackAddict 4 / HackAddict 4.rsrc / TEXT_133.txt < prev    next >
Text File  |  1997-07-21  |  3KB  |  130 lines

  1.  Cracking Big Al's File Locker
  2.  
  3.  
  4.  
  5. What is it?
  6.  
  7. Big Al's FileLocker password protects a file, so that other users can not access it without the correct password. Defeating Big Al's FileLock is a very simple process. It took me less than five minutes to figure out how the author hid the password. When you lock a file with ‚ÄúBig Al's FileLocker‚Äù it hides the password in the STR# resource of the protected file. But the password is not totally obvious.
  8.  
  9. Steps to defeat Big Al FileLock: 
  10.  
  11. 1. Open the protected file with ResEdit.
  12. 2. Open the STR# resource.
  13. 3. Open resource ID 1001
  14.  
  15. Now you will see a bunch of numbers ranging from 32 to 126.  These numbers are the ordinal position of each character. That may sound confusing but it's not. Every ASCII character is simply assigned a number, these numbers are universal.  Big Al just took the password and got every single characters ordinal value. Then Big Al stuck them in the STR# resource.
  16.  
  17. The ASCII Character list:
  18. (Option characters are not listed)
  19.  
  20. Ordinal            Character
  21. Position
  22. 32                                space
  23. 33                                        !                                
  24. 34                                        "
  25. 35                                        #
  26. 36                                        $
  27. 37                                        %
  28. 38                                        &
  29. 39                                      '
  30. 40                                        (
  31. 41                                        )
  32. 42                                        *
  33. 43                                        +
  34. 44                                        ,
  35. 45                                        -   (dash)
  36. 46                                        .
  37. 47                                        /
  38. 48                                        0
  39. 49                                        1
  40. 50                                        2
  41. 51                                        3
  42. 52                                        4
  43. 53                                        5
  44. 54                                        6
  45. 55                                        7
  46. 56                                        8
  47. 57                                        9
  48. 58                                        :
  49. 59                                        ;
  50. 60                                        <
  51. 61                                        =
  52. 62                                        >
  53. 63                                        ?
  54. 64                                        @
  55. 65                                        A
  56. 66                                        B
  57. 67                                        C
  58. 68                                        D
  59. 69                                        E
  60. 70                                        F
  61. 71                                        G
  62. 72                                        H
  63. 73                                        I
  64. 74                                        J
  65. 75                                        K
  66. 76                                        L
  67. 77                                        M
  68. 78                                        N
  69. 79                                        O
  70. 80                                        P
  71. 81                                        Q
  72. 82                                        R
  73. 83                                        S
  74. 84                                        T
  75. 85                                        U
  76. 86                                        V
  77. 87                                        W
  78. 88                                        X
  79. 89                                        Y
  80. 90                                        Z
  81. 91                                        [
  82. 92                                        \
  83. 93                                        ]
  84. 94                                        ^
  85. 95                                        _   (underscore)
  86. 96                                        `
  87. 97                                        a
  88. 98                                        b
  89. 99                                        c
  90. 100                                    d
  91. 101                                    e
  92. 102                                    f
  93. 103                                    g
  94. 104                                    h
  95. 105                                    i
  96. 106                                    j    
  97. 107                                    k
  98. 108                                    l
  99. 109                                    m    
  100. 110                                    n
  101. 111                                    o
  102. 112                                    p
  103. 113                                    q
  104. 114                                    r
  105. 115                                    s
  106. 116                                    t
  107. 117                                    u
  108. 118                                    v
  109. 119                                    w
  110. 120                                    x
  111. 121                                    y
  112. 122                                    z
  113. 123                                    {
  114. 124                                    |
  115. 125                                    }
  116. 126                                    ~
  117.  
  118. After you hopefully see some of those numbers in the STR# resource, ID 1001, simply relate the numbers with the corresponding characters in the ASCII list. For instance say you see the following numbers:
  119.  
  120. 98, 111, 98
  121.  
  122. You will know the password is ‚Äúbob‚Äù
  123.  
  124. The last two strings in the resource are the file type and the creator. These are of little importance to you though.
  125.  
  126. And that's how you crack a file protected with Big Al's File Locker.                                                                                                                                            
  127.  
  128.                                                                                                                                             -VoiD
  129.                                                                                                                                                             (voidx@lorien.ml.org)
  130.